import {
	FINE_GRIT,
	PREMISSIONS_PAGE
} from '@/constant/index.js';
export  function hasPagePermission(value) {
	if (value) {
		let permissionRoles = uni.getStorageSync(PREMISSIONS_PAGE);
		const hasPermission = permissionRoles.some(role => {
			return role == value
		})
		return hasPermission
	} else {
		return false
	}
}
